﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Themes/Default/Views/Shared/Member.Master" Inherits="System.Web.Mvc.ViewPage<Fashion.ViewModels.OrderDetailsModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	OrderDetails
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>OrderDetails</h2>

    <table>
        <tr>
            <th>
                OrderID
            </th>
            <th>
                Product Name
            </th>
            <th>
                Quantity
            </th>
            <th>
                Price
            </th>
            <th>
                Size
            </th>
            <th>
                Color
            </th>
            <th>
                Coupon
            </th>
        </tr>
    
        <tr>
            <td>
                <%: Model.orderDetails.OrderID%>
            </td>
            <td>
                <%: Html.ActionLink(Model.productName, "Product", Model.control, new {pid = Model.orderDetails.ProductID }, null ) %>
            </td>
            <td>
                <%: Model.orderDetails.Quantity%>
            </td>
            <td>
                <%: Model.orderDetails.Price%>
            </td>
            <td>
                <%: Model.size%>
            </td>
            <td>
                <%: Model.color%>
            </td>
            <td>
                <%: Model.coupon%>
            </td>
        </tr>

    </table>

    <p>
        <%: Html.ActionLink("Back to View Orders", "ViewOrder") %>
    </p>

</asp:Content>

